﻿// b1002-写出这个数.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>
#include<string>

using namespace std;

int main()
{
    string str;
    cin >> str;
    int sum = 0;//求和
    for (int i = 0; i < str.length(); i++) {
        sum += str[i] - '0';
    }

    //哈希表存储响应数字的拼音
    string nums[] = { "ling","yi","er","san","si","wu","liu","qi","ba","jiu","shi" };
    string sum_str = to_string(sum);
    for (int i = 0; i < sum_str.length(); i++) {
        if (i != 0) {
            cout << " ";
        }
        cout << nums[sum_str[i] - '0'];
    }
    return 0;
}
